function validate_classified_form(form){
	if( form.classified_name.value == "" || form.classified_email.value == "" || form.classified_message.value == "" ) 
	{ 
	   document.getElementById('classified_message').innerHTML = '<span style="color:red"><strong>Please fill out name, email and a message.</strong></span>';
	   document.getElementById('classified_message').style.display = 'block';
	   return false; 
	}
}

function countWords(testfield, updatediv, warnspan){
	wordCounter = testfield.value.split(' ').length;
	//wordCounter = document.questionnaire.statement.value.split(' ').length;
	document.getElementById(updatediv).innerHTML = wordCounter;
	if(wordCounter == 50){
		limit = document.questionnaire.statement.value.length;
	}
	if(wordCounter < 51){
		document.getElementById(warnspan).innerHTML = "";
	}
	if(wordCounter >= 51){
		//document.questionnaire.statement.value = document.questionnaire.statement.value.substring(0, limit);
		document.getElementById(warnspan).innerHTML = "<strong>WORD LIMIT REACHED</strong> (Please reduce or part of your message will be cut off)";
	}
}